package com.blockchain.coupon.entity;

/**
 * Created by wufaxiang on 2017/1/13.
 * 商户实体类
 */
public class Merchant {
    // 基本信息
    private String merchantId;                  // 商户id
    private String merchantAccount;             // 商户账号（注册手机号）
    private String merchantPassword;            // 密码
    private String merchantToken;               // 商户客户端token
    private String merchantSalt;                // 商户密码加密盐值
    private String merchantAccountBalance;      // 商户账户余额
    private String merchantContractAddress;     // 合约地址
    private String merchantName;                // 商户名（公司名）
    private String merchantAddress;             // 商户公司地址
    private String merchantLicenseNumber;       // 营业执照号
    private String merchantLegalPersonName;     // 公司法人代表姓名
    private String merchantBusinessScope;       // 经营范围
    private String merchantDescription;         // 商户简介（可为空）
    private String merchantRegisterStatus;      // 商户注册状态，0 未审核  2 已审核未通过 1 已审核已通过
    private String clearingTicketTotalBalance;  // 结算券账户余额
    private String merchantPublicKey;           // 公钥
    private String currentClearingTicketId;     // 当前结算券id
    private String currentCouponRuleId;         // 当前发放优惠券规则id

    @Override
    public String toString() {
        return "Merchant{" +
                "merchantId='" + merchantId + '\'' +
                ", merchantAccount='" + merchantAccount + '\'' +
                ", merchantPassword='" + merchantPassword + '\'' +
                ", merchantToken='" + merchantToken + '\'' +
                ", merchantSalt='" + merchantSalt + '\'' +
                ", merchantAccountBalance='" + merchantAccountBalance + '\'' +
                ", merchantContractAddress='" + merchantContractAddress + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", merchantAddress='" + merchantAddress + '\'' +
                ", merchantLicenseNumber='" + merchantLicenseNumber + '\'' +
                ", merchantLegalPersonName='" + merchantLegalPersonName + '\'' +
                ", merchantBusinessScope='" + merchantBusinessScope + '\'' +
                ", merchantDescription='" + merchantDescription + '\'' +
                ", merchantRegisterStatus='" + merchantRegisterStatus + '\'' +
                ", clearingTicketTotalBalance='" + clearingTicketTotalBalance + '\'' +
                ", merchantPublicKey='" + merchantPublicKey + '\'' +
                ", currentClearingTicketId='" + currentClearingTicketId + '\'' +
                ", currentCouponRuleId='" + currentCouponRuleId + '\'' +
                '}';
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantAccount() {
        return merchantAccount;
    }

    public void setMerchantAccount(String merchantAccount) {
        this.merchantAccount = merchantAccount;
    }

    public String getMerchantPassword() {
        return merchantPassword;
    }

    public void setMerchantPassword(String merchantPassword) {
        this.merchantPassword = merchantPassword;
    }

    public String getMerchantToken() {
        return merchantToken;
    }

    public void setMerchantToken(String merchantToken) {
        this.merchantToken = merchantToken;
    }

    public String getMerchantSalt() {
        return merchantSalt;
    }

    public void setMerchantSalt(String merchantSalt) {
        this.merchantSalt = merchantSalt;
    }

    public String getMerchantAccountBalance() {
        return merchantAccountBalance;
    }

    public void setMerchantAccountBalance(String merchantAccountBalance) {
        this.merchantAccountBalance = merchantAccountBalance;
    }

    public String getMerchantContractAddress() {
        return merchantContractAddress;
    }

    public void setMerchantContractAddress(String merchantContractAddress) {
        this.merchantContractAddress = merchantContractAddress;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantAddress() {
        return merchantAddress;
    }

    public void setMerchantAddress(String merchantAddress) {
        this.merchantAddress = merchantAddress;
    }

    public String getMerchantLicenseNumber() {
        return merchantLicenseNumber;
    }

    public void setMerchantLicenseNumber(String merchantLicenseNumber) {
        this.merchantLicenseNumber = merchantLicenseNumber;
    }

    public String getMerchantLegalPersonName() {
        return merchantLegalPersonName;
    }

    public void setMerchantLegalPersonName(String merchantLegalPersonName) {
        this.merchantLegalPersonName = merchantLegalPersonName;
    }

    public String getMerchantBusinessScope() {
        return merchantBusinessScope;
    }

    public void setMerchantBusinessScope(String merchantBusinessScope) {
        this.merchantBusinessScope = merchantBusinessScope;
    }

    public String getMerchantDescription() {
        return merchantDescription;
    }

    public void setMerchantDescription(String merchantDescription) {
        this.merchantDescription = merchantDescription;
    }

    public String getMerchantRegisterStatus() {
        return merchantRegisterStatus;
    }

    public void setMerchantRegisterStatus(String merchantRegisterStatus) {
        this.merchantRegisterStatus = merchantRegisterStatus;
    }

    public String getClearingTicketTotalBalance() {
        return clearingTicketTotalBalance;
    }

    public void setClearingTicketTotalBalance(String clearingTicketTotalBalance) {
        this.clearingTicketTotalBalance = clearingTicketTotalBalance;
    }

    public String getMerchantPublicKey() {
        return merchantPublicKey;
    }

    public void setMerchantPublicKey(String merchantPublicKey) {
        this.merchantPublicKey = merchantPublicKey;
    }

    public String getCurrentClearingTicketId() {
        return currentClearingTicketId;
    }

    public void setCurrentClearingTicketId(String currentClearingTicketId) {
        this.currentClearingTicketId = currentClearingTicketId;
    }

    public String getCurrentCouponRuleId() {
        return currentCouponRuleId;
    }

    public void setCurrentCouponRuleId(String currentCouponRuleId) {
        this.currentCouponRuleId = currentCouponRuleId;
    }
}